import instance from '@/utils/index'
import { IData, Ifreight } from '@/types/data.d'
export const getList = () =>
  instance.request<IData<Ifreight>>({
    url: '/carriages',
    method: 'get'
  })